package com.sihai.ehr.model.biz;

import com.sihai.core.BaseEntity;
import com.sihai.ehr.model.sys.AuditStatus;

import javax.persistence.*;

/**
 * @author wxn
 * @since 12-5-27 16:27
 *
 * 工作说明书表审核表
 */
@Entity
@DiscriminatorValue("audit_job_specification")
public class JobSpecificationAuditing extends AuditingBase {

    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "work_specification_id")
	private JobSpecification jobSpecification; /* 工作说明书  */

    public JobSpecification getJobSpecification() {
        return jobSpecification;
    }

    public void setJobSpecification(JobSpecification jobSpecification) {
        this.jobSpecification = jobSpecification;
    }
}
